rework locking for dump of scheduler info (debug-key r)
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 14 Apr 2015 12:56:13 +0000 (14:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Apr 2015 12:56:13 +0000 (14:56 +0200)
commitb7c82abc1a920bcccbd64abe4c388f7208a2c185
tree30848924849efc3f7562c7d94e4ea24660309b28
parent123c7793797502b222300eb710cd3873dcca41ee
rework locking for dump of scheduler info (debug-key r)

such as it is taken care of by the various schedulers, rather
than happening in schedule.c. In fact, it is the schedulers
that know better which locks are necessary for the specific
dumping operations.

While there, fix a few style issues (indentation, trailing
whitespace, parentheses and blank line after var declarations)

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit.c
xen/common/sched_credit2.c
xen/common/sched_rt.c
xen/common/sched_sedf.c
xen/common/schedule.c